/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question3.isp.conf;


import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.pretorius.question3.isp.service.GenerateAndroidWebPageService;
import za.ac.cput.pretorius.question3.isp.service.GenerateUnixWebPageService;
import za.ac.cput.pretorius.question3.isp.service.GenerateWindowsWebPageService;
import za.ac.cput.pretorius.question3.isp.service.impl.GenerateWebPageServiceImpl;


/**
 *
 * @author griddy
 */
@Configurable
public class Config {
    
    @Bean(name="generateAndroidWebPage")
    public GenerateAndroidWebPageService genAndroidPageService()
    {
        return new GenerateWebPageServiceImpl();
    }
    
    @Bean(name="generateWindowsWebPage")
    public GenerateWindowsWebPageService genWindowsPageService()
    {
        return new GenerateWebPageServiceImpl();
    }
    
    @Bean(name="generateUnixWebPage")
    public GenerateUnixWebPageService genUnixPageService()
    {
        return new GenerateWebPageServiceImpl();
    }
    
}
